//
//  OrderModel.h
//  JiFengDaRen
//
//  Created by zhuchao on 16/2/15.
//  Copyright © 2016年 SH_iOS. All rights reserved.
//

#import <Foundation/Foundation.h>
@class StoreModel;
@interface OrderModel : NSObject
@property(nonatomic,assign)double jd;//经度
@property(nonatomic,assign)double wd;//纬度
@property(nonatomic,copy)NSString *take_user;//当前负责人
@property(nonatomic,copy)NSString *order_addr;//收货地址
@property(nonatomic,copy)NSString *phone;//用户手机号
@property(nonatomic,assign)int payment_type;//付款方式
@property(nonatomic,strong)NSArray *shoppingcartitems;//购物车数据列表
@property(nonatomic,copy)NSString *customer_memo;//用户备注
@property(nonatomic,strong)NSDictionary *store;//处理订单的服务点
@property(nonatomic,assign)int _id;//订单id
@property(nonatomic,copy)NSString *take_user_phone;//取件人手机号
@property(nonatomic,assign)float price;//代付费用
@property(nonatomic,copy)NSString *display_name;//订单描述
@property(nonatomic,copy)NSString *order_time;//下单时间
@property(nonatomic,assign)BOOL is_payed;//是否支付
@property(nonatomic,copy)NSString *managment_memo;//管理备注
@property(nonatomic,assign)int status;//订单状态
@property(nonatomic,copy)NSString *name;//用户姓名
@property(nonatomic,strong)StoreModel *storeModel;




/*
 public int _id;// 订单id
	public String orderno;// 订单号
	public String name;// 用户姓名
	public String phone;// 用户手机号
	public int status;// 订单状态
	public String order_time;// 下单时间
	public String pick_time;// 预约时间
	public String send_time;// 送件时间
	public String pick_finish_time;// 实际取件时间
	public String send_finish_time;// 实际送件时间
	public String scheduled_finish_time;// 计划送达时间
	public String take_addr;// 取件地址
	public String send_addr;// 送件地址
	public String service_take_user;// 取件负责人
	public String service_send_user;// 送件负责人
	public String take_user;// 当前负责人
	public String coupon;// 优惠券
	public String invited_by;// 邀请人
	public String balance_pay;// 余额支付
	public int cloth_type;// 衣服类型
	public String managment_memo; // 管理备注
	public String barcode;// 条码
	public String tag_src;// 订单来源
	public int business_type;// 1表示洗衣2表示水果配送
	public String business_name;// 业务名称
	public int payment_type;// 付款方式
	public float price;// 待付费用
	public List<ShoppingCartItem> shoppingcartitems;// 购物车数据列表
	public boolean is_payed;
	public boolean can_pay;// 是否可支付
	public String business_logo;
	public boolean is_confirmed;// 是否确认
	public String zhifubao;// 支付宝回执信息
	public double jd;// 经度，下单地址
	public double wd;// 纬度
	public StoreModel store;// 处理订单的服务点
	public String customer_memo;// 用户备注
	public boolean is_urgent;// 是否加急
	// 顺风购
	public String customer_memo2; // 购买要求
	public int reward;// 跑腿费
	public String display_name;// 订单描述

 
// 订单模型
 
 
 {
	shoppingcartitems = [
 ],
	is_payed = 0,
	has_comment = 0,
	name = SH_iOS,
	phone = 18074678289,
	_id = 3015,
	wd = 0,
	take_user = <null>,
	take_user_phone = <null>,
	order_time = 2016年12月31日 10:56,
	customer_memo = 速度发货,
	display_name = 订单编号：L148315301439195-用户：SH_iOS,
	price = 0,
	managment_memo = ,
	payment_type = 3,
	orderno = L148315301439195,
	store = {
	business_tag = 1,
	location = ,
	reputationStar = 3.5,
	get_icon_url = [
 {
	_id = 18,
	picup = http://yhzj.ebenbank.com:80/res/upload/store_pics/%E7%93%B7%E6%99%B6%E9%94%85720236.png
 },
 {
	_id = 39,
	picup = http://yhzj.ebenbank.com:80/res/upload/store_pics/%E6%90%85%E6%8B%8C%E5%99%A8720236.png
 }
 ],
	store_name = 维迈超市,
	name = 维迈超市,
	bank_card_code = ,
	_id = 14,
	businessScope = 厨房系列，家用清洁系列,
	district = 上海 上海,
	ishot = 0,
	store_balance = 0,
	store_withdraw_balance = 0,
	visitorCount = 1014,
	commend_count = 0,
	is_open = 1,
	zhifubao = 123,
	business_type_name = 电器,
	phone_service = 1,
	owner = 维迈超市,
	logo_small = http://yhzj.ebenbank.com:80/res/upload/store_logo_pics/100100_FV23PIk.jpg,
	logo_large = http://yhzj.ebenbank.com:80/res/upload/store_logo_pics/100100_tZ6BulL.jpg,
	all_income = 0
 },
	jd = 0,
	status = 1,
	order_addr = 上海 杨浦区 #五角场
 },

 
 
 
 
 */
@end
